package org.bluebee.billiardsbar.entity;


public class Cost {
	private String costId;
	private double costMoney;
	private double tableCost;
	private double drinkCost;
	private double sparringCost;
	private String costDate;
	private String costInf;
	private String userId;
	public String getCostId() {
		return costId;
	}
	public void setCostId(String costId) {
		this.costId = costId;
	}
	public double getCostMoney() {
		return costMoney;
	}
	public void setCostMoney(double costMoney) {
		this.costMoney = costMoney;
	}
	public double getTableCost() {
		return tableCost;
	}
	public void setTableCost(double tableCost) {
		this.tableCost = tableCost;
	}
	public double getDrinkCost() {
		return drinkCost;
	}
	public void setDrinkCost(double drinkCost) {
		this.drinkCost = drinkCost;
	}
	public double getSparringCost() {
		return sparringCost;
	}
	public void setSparringCost(double sparringCost) {
		this.sparringCost = sparringCost;
	}
	public String getCostDate() {
		return costDate;
	}
	public void setCostDate(String costDate) {
		this.costDate = costDate;
	}
	public String getCostInf() {
		return costInf;
	}
	public void setCostInf(String costInf) {
		this.costInf = costInf;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((costId == null) ? 0 : costId.hashCode());
		return result;
	}
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		final Cost other = (Cost) obj;
		if (costId == null) {
			if (other.costId != null)
				return false;
		} else if (!costId.equals(other.costId))
			return false;
		return true;
	}
	public Cost(String costId, double costMoney, double tableCost,
			double drinkCost, double sparringCost, String costDate,
			String costInf, String userId) {
		super();
		this.costId = costId;
		this.costMoney = costMoney;
		this.tableCost = tableCost;
		this.drinkCost = drinkCost;
		this.sparringCost = sparringCost;
		this.costDate = costDate;
		this.costInf = costInf;
		this.userId = userId;
	}
	public Cost() {
		super();
	}
	
}
